package com.itheima.mapper.cmsMapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.domain.db.cms.CmsPrefrenceArea;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author yin
 * @date 2022/10/12 14:37
 */
@Mapper
public interface PrefrenceAreaMapper extends BaseMapper<CmsPrefrenceArea> {
    @Select("select * from cms_prefrence_area")
    List<CmsPrefrenceArea> findAll();
}
